package com.baizhi.entity;

public class Hero {
    private Integer id;
    private String name;
    private Integer sex;
    private Country country;
    private Integer cid;

    public Hero() {
    }

    public Hero(Integer id, String name, Integer sex, Country country) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.country = country;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Country getCountry() {
        return country;
    }

    public void setCountry(Country country) {
        this.country = country;
    }

    @Override
    public String toString() {
        return "Hero{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", country=" + country +
                '}';
    }
}
